package com.zy.project.system.user.repository;

import com.zy.core.data.jpa.support.repository.BaseRepository;
import com.zy.project.system.user.entity.SystemUser;

/**
 * Package: core.repository
 * <p>
 * Description： TODO
 * <p>
 * Author: zhangyu
 * <p>
 * Date: Created in 2018-9-2 15:32
 * <p>
 * Company: mingtu
 * <p>
 * Copyright: Copyright (c) 2018
 * <p>
 * Version: 0.0.1
 * <p>
 * Modified By:
 */
public interface SystemUserRepository extends BaseRepository<SystemUser,String> {

    /**
     * 根据用户名查询登录用户
     * @param username
     * @return
     */
    SystemUser findByUsername(String username);
}
